﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebExamples._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
		<asp:Wizard runat="server" ID="wizDemo">
			<WizardSteps>
				<asp:WizardStep ID="WizardStep1" runat="server" StepType="Start" Title="Start">
					Start
					<asp:Label ID="Label1" runat="server" AssociatedControlID="ddlYesNo" Text="Do you want to skip Step 1?" />
					<asp:DropDownList runat="server" ID="ddlYesNo">
						<asp:ListItem Value="" />
						<asp:ListItem Value="Yes"/>
						<asp:ListItem Value="No" />
					</asp:DropDownList>
					<asp:RequiredFieldValidator runat="server" ControlToValidate="ddlYesNo">*</asp:RequiredFieldValidator>
				</asp:WizardStep>
				<asp:WizardStep ID="WizardStep2" runat="server" StepType="Step" OnActivate="WizardStep2_Activated" Title="Step One">
					Step 1
				</asp:WizardStep>
				<asp:WizardStep ID="WizardStep3" runat="server" StepType="Step" Title="Step Two">
					Step 2
				</asp:WizardStep>
				<asp:WizardStep ID="WizardStep4" runat="server" StepType="Step" Title="Step Three">
					Step 3
				</asp:WizardStep>
				<asp:WizardStep ID="WizardStep5" runat="server" StepType="Finish" Title="Finish">
					Finish
				</asp:WizardStep>
				<asp:WizardStep ID="WizardStep6" runat="server" StepType="Complete">
					Completed
				</asp:WizardStep>
			</WizardSteps>
		</asp:Wizard>
    </div>
    </form>
</body>
</html>
